package com.colin.util.enums;

public enum ResponseStatusEnum {
    
    //接口返回状态码及说明
    _200("200", "成功"),
    _201("201", "请求处理中"),
    _205("205", "请求超时"),
    _400("400", "业务异常"),
    _401("401", "未登陆"),
    _402("402", "余额不足"),
    _403("403", "未实名"),
    _500("500", "系统异常");

    private String status;
    private String desc;

    ResponseStatusEnum(String status, String desc){
        this.status = status;
        this.desc = desc;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
